概要:Apacheのカスタマイズ内容の備忘録。 1. 特定のページをHomeページに設定 # vi /var/www/html/.htaccess ← DocumentRootの設定ファイル.htaccess編集
Redirect permanent /index.html http://サーバー名/特定ページ/ # /etc/rc.d/init.d/httpd reload ← Apache設定再読込み httpd を再読み込み中: [ OK ] Last-modified: 2014-03-11 (火) 01:59:57 (3700d)
|